package com.kgc.travel.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EduAdvertiseImageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EduAdvertiseImageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andImageIdIsNull() {
            addCriterion("image_id is null");
            return (Criteria) this;
        }

        public Criteria andImageIdIsNotNull() {
            addCriterion("image_id is not null");
            return (Criteria) this;
        }

        public Criteria andImageIdEqualTo(Integer value) {
            addCriterion("image_id =", value, "imageId");
            return (Criteria) this;
        }

        public Criteria andImageIdNotEqualTo(Integer value) {
            addCriterion("image_id <>", value, "imageId");
            return (Criteria) this;
        }

        public Criteria andImageIdGreaterThan(Integer value) {
            addCriterion("image_id >", value, "imageId");
            return (Criteria) this;
        }

        public Criteria andImageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("image_id >=", value, "imageId");
            return (Criteria) this;
        }

        public Criteria andImageIdLessThan(Integer value) {
            addCriterion("image_id <", value, "imageId");
            return (Criteria) this;
        }

        public Criteria andImageIdLessThanOrEqualTo(Integer value) {
            addCriterion("image_id <=", value, "imageId");
            return (Criteria) this;
        }

        public Criteria andImageIdIn(List<Integer> values) {
            addCriterion("image_id in", values, "imageId");
            return (Criteria) this;
        }

        public Criteria andImageIdNotIn(List<Integer> values) {
            addCriterion("image_id not in", values, "imageId");
            return (Criteria) this;
        }

        public Criteria andImageIdBetween(Integer value1, Integer value2) {
            addCriterion("image_id between", value1, value2, "imageId");
            return (Criteria) this;
        }

        public Criteria andImageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("image_id not between", value1, value2, "imageId");
            return (Criteria) this;
        }

        public Criteria andImageCateIsNull() {
            addCriterion("image_cate is null");
            return (Criteria) this;
        }

        public Criteria andImageCateIsNotNull() {
            addCriterion("image_cate is not null");
            return (Criteria) this;
        }

        public Criteria andImageCateEqualTo(Integer value) {
            addCriterion("image_cate =", value, "imageCate");
            return (Criteria) this;
        }

        public Criteria andImageCateNotEqualTo(Integer value) {
            addCriterion("image_cate <>", value, "imageCate");
            return (Criteria) this;
        }

        public Criteria andImageCateGreaterThan(Integer value) {
            addCriterion("image_cate >", value, "imageCate");
            return (Criteria) this;
        }

        public Criteria andImageCateGreaterThanOrEqualTo(Integer value) {
            addCriterion("image_cate >=", value, "imageCate");
            return (Criteria) this;
        }

        public Criteria andImageCateLessThan(Integer value) {
            addCriterion("image_cate <", value, "imageCate");
            return (Criteria) this;
        }

        public Criteria andImageCateLessThanOrEqualTo(Integer value) {
            addCriterion("image_cate <=", value, "imageCate");
            return (Criteria) this;
        }

        public Criteria andImageCateIn(List<Integer> values) {
            addCriterion("image_cate in", values, "imageCate");
            return (Criteria) this;
        }

        public Criteria andImageCateNotIn(List<Integer> values) {
            addCriterion("image_cate not in", values, "imageCate");
            return (Criteria) this;
        }

        public Criteria andImageCateBetween(Integer value1, Integer value2) {
            addCriterion("image_cate between", value1, value2, "imageCate");
            return (Criteria) this;
        }

        public Criteria andImageCateNotBetween(Integer value1, Integer value2) {
            addCriterion("image_cate not between", value1, value2, "imageCate");
            return (Criteria) this;
        }

        public Criteria andImageNameIsNull() {
            addCriterion("image_name is null");
            return (Criteria) this;
        }

        public Criteria andImageNameIsNotNull() {
            addCriterion("image_name is not null");
            return (Criteria) this;
        }

        public Criteria andImageNameEqualTo(String value) {
            addCriterion("image_name =", value, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameNotEqualTo(String value) {
            addCriterion("image_name <>", value, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameGreaterThan(String value) {
            addCriterion("image_name >", value, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameGreaterThanOrEqualTo(String value) {
            addCriterion("image_name >=", value, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameLessThan(String value) {
            addCriterion("image_name <", value, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameLessThanOrEqualTo(String value) {
            addCriterion("image_name <=", value, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameLike(String value) {
            addCriterion("image_name like", value, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameNotLike(String value) {
            addCriterion("image_name not like", value, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameIn(List<String> values) {
            addCriterion("image_name in", values, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameNotIn(List<String> values) {
            addCriterion("image_name not in", values, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameBetween(String value1, String value2) {
            addCriterion("image_name between", value1, value2, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageNameNotBetween(String value1, String value2) {
            addCriterion("image_name not between", value1, value2, "imageName");
            return (Criteria) this;
        }

        public Criteria andImageOriginalIsNull() {
            addCriterion("image_original is null");
            return (Criteria) this;
        }

        public Criteria andImageOriginalIsNotNull() {
            addCriterion("image_original is not null");
            return (Criteria) this;
        }

        public Criteria andImageOriginalEqualTo(String value) {
            addCriterion("image_original =", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalNotEqualTo(String value) {
            addCriterion("image_original <>", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalGreaterThan(String value) {
            addCriterion("image_original >", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalGreaterThanOrEqualTo(String value) {
            addCriterion("image_original >=", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalLessThan(String value) {
            addCriterion("image_original <", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalLessThanOrEqualTo(String value) {
            addCriterion("image_original <=", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalLike(String value) {
            addCriterion("image_original like", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalNotLike(String value) {
            addCriterion("image_original not like", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalIn(List<String> values) {
            addCriterion("image_original in", values, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalNotIn(List<String> values) {
            addCriterion("image_original not in", values, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalBetween(String value1, String value2) {
            addCriterion("image_original between", value1, value2, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalNotBetween(String value1, String value2) {
            addCriterion("image_original not between", value1, value2, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageDomainIsNull() {
            addCriterion("image_domain is null");
            return (Criteria) this;
        }

        public Criteria andImageDomainIsNotNull() {
            addCriterion("image_domain is not null");
            return (Criteria) this;
        }

        public Criteria andImageDomainEqualTo(String value) {
            addCriterion("image_domain =", value, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainNotEqualTo(String value) {
            addCriterion("image_domain <>", value, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainGreaterThan(String value) {
            addCriterion("image_domain >", value, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainGreaterThanOrEqualTo(String value) {
            addCriterion("image_domain >=", value, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainLessThan(String value) {
            addCriterion("image_domain <", value, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainLessThanOrEqualTo(String value) {
            addCriterion("image_domain <=", value, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainLike(String value) {
            addCriterion("image_domain like", value, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainNotLike(String value) {
            addCriterion("image_domain not like", value, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainIn(List<String> values) {
            addCriterion("image_domain in", values, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainNotIn(List<String> values) {
            addCriterion("image_domain not in", values, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainBetween(String value1, String value2) {
            addCriterion("image_domain between", value1, value2, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageDomainNotBetween(String value1, String value2) {
            addCriterion("image_domain not between", value1, value2, "imageDomain");
            return (Criteria) this;
        }

        public Criteria andImageRemarkIsNull() {
            addCriterion("image_remark is null");
            return (Criteria) this;
        }

        public Criteria andImageRemarkIsNotNull() {
            addCriterion("image_remark is not null");
            return (Criteria) this;
        }

        public Criteria andImageRemarkEqualTo(String value) {
            addCriterion("image_remark =", value, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkNotEqualTo(String value) {
            addCriterion("image_remark <>", value, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkGreaterThan(String value) {
            addCriterion("image_remark >", value, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("image_remark >=", value, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkLessThan(String value) {
            addCriterion("image_remark <", value, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkLessThanOrEqualTo(String value) {
            addCriterion("image_remark <=", value, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkLike(String value) {
            addCriterion("image_remark like", value, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkNotLike(String value) {
            addCriterion("image_remark not like", value, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkIn(List<String> values) {
            addCriterion("image_remark in", values, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkNotIn(List<String> values) {
            addCriterion("image_remark not in", values, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkBetween(String value1, String value2) {
            addCriterion("image_remark between", value1, value2, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageRemarkNotBetween(String value1, String value2) {
            addCriterion("image_remark not between", value1, value2, "imageRemark");
            return (Criteria) this;
        }

        public Criteria andImageSizeIsNull() {
            addCriterion("image_size is null");
            return (Criteria) this;
        }

        public Criteria andImageSizeIsNotNull() {
            addCriterion("image_size is not null");
            return (Criteria) this;
        }

        public Criteria andImageSizeEqualTo(Integer value) {
            addCriterion("image_size =", value, "imageSize");
            return (Criteria) this;
        }

        public Criteria andImageSizeNotEqualTo(Integer value) {
            addCriterion("image_size <>", value, "imageSize");
            return (Criteria) this;
        }

        public Criteria andImageSizeGreaterThan(Integer value) {
            addCriterion("image_size >", value, "imageSize");
            return (Criteria) this;
        }

        public Criteria andImageSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("image_size >=", value, "imageSize");
            return (Criteria) this;
        }

        public Criteria andImageSizeLessThan(Integer value) {
            addCriterion("image_size <", value, "imageSize");
            return (Criteria) this;
        }

        public Criteria andImageSizeLessThanOrEqualTo(Integer value) {
            addCriterion("image_size <=", value, "imageSize");
            return (Criteria) this;
        }

        public Criteria andImageSizeIn(List<Integer> values) {
            addCriterion("image_size in", values, "imageSize");
            return (Criteria) this;
        }

        public Criteria andImageSizeNotIn(List<Integer> values) {
            addCriterion("image_size not in", values, "imageSize");
            return (Criteria) this;
        }

        public Criteria andImageSizeBetween(Integer value1, Integer value2) {
            addCriterion("image_size between", value1, value2, "imageSize");
            return (Criteria) this;
        }

        public Criteria andImageSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("image_size not between", value1, value2, "imageSize");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateIsNull() {
            addCriterion("image_gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateIsNotNull() {
            addCriterion("image_gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateEqualTo(Date value) {
            addCriterion("image_gmt_create =", value, "imageGmtCreate");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateNotEqualTo(Date value) {
            addCriterion("image_gmt_create <>", value, "imageGmtCreate");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateGreaterThan(Date value) {
            addCriterion("image_gmt_create >", value, "imageGmtCreate");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("image_gmt_create >=", value, "imageGmtCreate");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateLessThan(Date value) {
            addCriterion("image_gmt_create <", value, "imageGmtCreate");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("image_gmt_create <=", value, "imageGmtCreate");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateIn(List<Date> values) {
            addCriterion("image_gmt_create in", values, "imageGmtCreate");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateNotIn(List<Date> values) {
            addCriterion("image_gmt_create not in", values, "imageGmtCreate");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateBetween(Date value1, Date value2) {
            addCriterion("image_gmt_create between", value1, value2, "imageGmtCreate");
            return (Criteria) this;
        }

        public Criteria andImageGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("image_gmt_create not between", value1, value2, "imageGmtCreate");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedIsNull() {
            addCriterion("image_gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedIsNotNull() {
            addCriterion("image_gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedEqualTo(Date value) {
            addCriterion("image_gmt_modified =", value, "imageGmtModified");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedNotEqualTo(Date value) {
            addCriterion("image_gmt_modified <>", value, "imageGmtModified");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedGreaterThan(Date value) {
            addCriterion("image_gmt_modified >", value, "imageGmtModified");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("image_gmt_modified >=", value, "imageGmtModified");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedLessThan(Date value) {
            addCriterion("image_gmt_modified <", value, "imageGmtModified");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("image_gmt_modified <=", value, "imageGmtModified");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedIn(List<Date> values) {
            addCriterion("image_gmt_modified in", values, "imageGmtModified");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedNotIn(List<Date> values) {
            addCriterion("image_gmt_modified not in", values, "imageGmtModified");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("image_gmt_modified between", value1, value2, "imageGmtModified");
            return (Criteria) this;
        }

        public Criteria andImageGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("image_gmt_modified not between", value1, value2, "imageGmtModified");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeIsNull() {
            addCriterion("image_ref_type is null");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeIsNotNull() {
            addCriterion("image_ref_type is not null");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeEqualTo(Integer value) {
            addCriterion("image_ref_type =", value, "imageRefType");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeNotEqualTo(Integer value) {
            addCriterion("image_ref_type <>", value, "imageRefType");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeGreaterThan(Integer value) {
            addCriterion("image_ref_type >", value, "imageRefType");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("image_ref_type >=", value, "imageRefType");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeLessThan(Integer value) {
            addCriterion("image_ref_type <", value, "imageRefType");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeLessThanOrEqualTo(Integer value) {
            addCriterion("image_ref_type <=", value, "imageRefType");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeIn(List<Integer> values) {
            addCriterion("image_ref_type in", values, "imageRefType");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeNotIn(List<Integer> values) {
            addCriterion("image_ref_type not in", values, "imageRefType");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeBetween(Integer value1, Integer value2) {
            addCriterion("image_ref_type between", value1, value2, "imageRefType");
            return (Criteria) this;
        }

        public Criteria andImageRefTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("image_ref_type not between", value1, value2, "imageRefType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}